home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / August 96 / How to order views < prev    next >
Encoding:
Internet Message Format  |  1996-08-15  |  1.5 KB  |  [TEXT/ttxt]

  1. Subject:     How to order views
  2. Sent:        7/1/96 12:01 PM
  3. Received:    7/1/96 12:22 PM
  4. From:        Jerome Jahnke, j-jahnke@uchicago.edu
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. I have a part that doesn't know what to draw until something is dragged
  9. into it, what it does is draws multiple pages as an analog to a paper form.
  10. Anyway, when this part is a root part, since I create all the page graphics
  11. after I create the grow icon, the grow icon is quite often covered up.
  12.  
  13. No problem I think, since my frame is a child of CSuperView I can just
  14. change the ordering in the list. Well no luck, you have made the list of
  15. subviews private.
  16.  
  17. The question is, other than predicting how many and what kind of views are
  18. going to be created how to order my subviews so that they draw correctly?
  19. Or should I delete the growIcon each time I add a view and recreate it when
  20. I am done (a solution that does not seem all that elegant to me.)
  21.  
  22. Jer,
  23.  
  24. ------------------------------------------------------------------------------
  25. Jerome Jahnke          |Well, I was only a kid didn't know enough to be afraid
  26. BSD Academic Computing |Playing the game, but not the way the big boys played
  27. University of Chicago  |Nothing to lose maybe I had something to trade
  28. j-jahnke@uchicago.edu  |The way the big wheel spins * The Big Wheel -- N Peart
  29. ------------------------------------------------------------------------------
  30.  
  31.  
  32.